﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CasterDPSMeter
{
    public class BonusDamageDetails
    {
        public int Holy { get; set; }
        public int Fire { get; set; }
        public int Nature { get; set; }
        public int Frost { get; set; }
        public int Shadow { get; set; }
        public int Arcane { get; set; }

        public void SetAll(int value)
        {
            Holy = Fire = Nature = Frost = Shadow = Arcane = value;
        }

        public int GetBonusDamage()
        {
            return Math.Max(Holy, Math.Max(Fire, Math.Max(Nature, Math.Max(Frost, Math.Max(Shadow, Arcane)))));
        }
    }
}
